home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CScrollNumPane.h < prev    next >
Text File  |  1993-08-18  |  771b  |  28 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CScrollNumPane
  3. //|
  4. //| This is the interface to  a pane containing a number which reflects
  5. //| the setting of a scroll bar
  6. //|______________________________________________________________________
  7.  
  8. #include <CEditText.h>
  9. #include <CScrollBar.h>
  10.  
  11. class CScrollNumPane : public CEditText
  12.     {
  13.     
  14.     short     num_offset;
  15.     
  16.   public:
  17.  
  18.     void    IScrollNumPane(CView *anEnclosure, CBureaucrat *aSupervisor, short aWidth,
  19.                                 short aHeight, short aHEncl, short aVEncl, SizingOption    aHSizing,
  20.                                 SizingOption aVSizing, short line, CScrollBar *scroll_bar,
  21.                                 short offset);
  22.  
  23.     void    CScrollNumPane::Draw(Rect *the_rect);
  24.  
  25.     void    ProviderChanged(CCollaborator *provider, long reason, void *info);
  26.  
  27.     };
  28.